<?php
namespace app\api\controller;

use app\common\model as M;

/**
 * 用户模块
 */
class UserLevel extends \app\api\ApiBase
{
    public $model = '\app\common\model\UserLevel';

    /**
     * 用户会员情况
     */ 
    public function levels()
    {
        $list = $this->model::getList([]);
        return $this->returnSuccess($list['data']);
    }
}//Class End